package com.gzy.android_douban.ui.me;

import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.NotificationCompat;

import android.app.Notification;
import android.app.NotificationManager;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;

import com.gzy.android_douban.databinding.ActivityInsertBinding;

public class InsertActivity extends AppCompatActivity implements View.OnClickListener {


    private ActivityInsertBinding binding;
    private boolean isUpdate = false;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = ActivityInsertBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());

        //设置监听器
        binding.btnConfirm.setOnClickListener(this);
        binding.btnCancel.setOnClickListener(this);

        NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
    }


    @Override
    public void onClick(View view) {

    }
    //发出通知
    public void sendNotification(View view) {
    }

    public void cancelNotification(View view) {
        
    }
}